﻿using B.S.Data.MES.API.Dto.LoginDTO;
using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.AccountApplication.Command
{
    public class AccountQueryCommand:IRequest<APIRequst<APIPageing<List<AccountDTO>>>>
    {
        public int pageIndex {  get; set; }

        public int pageSize { get; set; }

        public string? UserName { get; set; }

        public string? UserNickname { get; set; }

        public string? CreateName { get; set; }

        public DateTime? StartTime { get; set; }
        public string? EndTime { get; set; }  

        public int RoleId { get; set; }
    }
}
